package com.hirain.strategy;

/**
 * Created by caicf on 2016/8/27.
 */
public class STest {
    public static void main(String[] args) {
        FlyStrategy flyStrategy=new WindFle();
        TDuck duck=new TDuck();
        duck.setFlyStrategy(flyStrategy);
        duck.fly();

    }
}
